<!DOCTYPE html>
<html>
<head>
<title>Additional classes</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<link rel="stylesheet" href="../css/styles.css" type="text/css">
</head>
<body>
<h1 id="additional-classes">Additional classes</h1>
<p>The following classes are available when the "qt.custom" package is imported.</p>
<table>
<thead>
<tr>
<th>Object type</th>
<th>Base class</th>
<th>Purpose</th>
<th>Property</th>
<th>Type</th>
<th>Arguments</th>
<th>Return value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>ColorPicker</code></td>
<td><code>QWidget</code></td>
<td>Color selection</td>
<td><code>colorInt</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>32‑bit color code in AARRGGBB format.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>colorSelected</code></td>
<td>Signal</td>
<td>Color</td>
<td>–</td>
<td>Emitted when user selects a color.</td>
</tr>
<tr>
<td><code>Slider</code></td>
<td><code>QSlider</code></td>
<td>Slider with current value display</td>
<td><code>currentValue</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Current slider value.</td>
</tr>
<tr>
<td><code>SliderBox</code></td>
<td><code>QWidget</code></td>
<td>Slider + line edit + enable flag</td>
<td><code>value</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Parameter setting.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>currentValue</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Current value.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>minimum</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Minimum allowed value.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>maximum</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Maximum allowed value.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>sliderPosition</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Slider position.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>ratio</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Ratio of line‑edit value to slider position.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>title</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Parameter name.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>suffix</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Units of measurement.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>isCheckable</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Whether a check box is shown.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>isChecked</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Current check state.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>valueUserChanged</code></td>
<td>Signal</td>
<td>–</td>
<td>–</td>
<td>Emitted when user changes the value.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>valueChanged</code></td>
<td>Signal</td>
<td>–</td>
<td>–</td>
<td>Emitted when value changes internally.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>toggled</code></td>
<td>Signal</td>
<td>State</td>
<td>–</td>
<td>Emitted on toggle of check flag.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>click</code></td>
<td>Function</td>
<td>–</td>
<td>–</td>
<td>Programmatic toggle.</td>
</tr>
<tr>
<td><code>StyledToolButton</code></td>
<td><code>QToolButton</code></td>
<td>Toolbar button</td>
<td><code>backgroundColor</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Button background color (<code>QColor</code>).</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>foregroundColor</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Text color.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><code>highlightColor</code></td>
<td>Value</td>
<td>–</td>
<td>–</td>
<td>Highlight border color.</td>
</tr>
</tbody>
</table>

</body>
</html>
